package com.weixin.xplore.dao.service;

import com.weixin.xplore.controller.domain.request.SysUserPageQueryRequest;
import com.weixin.xplore.dao.entity.SysUser;
import jakarta.validation.constraints.NotBlank;

import java.util.List;
import java.util.Map;

public interface SysUserDaoService {
    SysUser queryByAccount(@NotBlank(message = "账号手机号") String account);

    Boolean save(SysUser sysUser);

    SysUser queryByInvitation(String invitationCode);

    Boolean updatePopint(String id, Map<String, Object> map);

    Boolean updatePopint(String id, String point);

    SysUser queryById(String string);

    List<SysUser> pageList(SysUserPageQueryRequest queryRequest);

    Boolean updateById(SysUser user);
}
